import models from "../models/index";
import { create } from "dva-core";

const app = create({});

models.forEach((model) => {
  app.model(model);
});

app.start();

export default app._store;
